<script setup>
defineProps({
  title: {
    type: String,
    default: "",
  },
  isLink: {
    type: Boolean,
    default: false,
  },
  rightImgUrl: {
    type: String,
    default: "",
  },
});
</script>

<template>
  <div>
    <van-cell :title="title" :is-link="isLink">
      <template #right-icon>
        <van-image class="right-img" :src="rightImgUrl" fit="contain" />
      </template>
    </van-cell>
  </div>
</template>

<style lang="scss" scoped>
:deep(.van-cell) {
  height: 92px;
  align-items: center;
  .van-cell__title {
    font-family: PingFangSC-Regular;
    font-size: 26px;
    color: #333333;
    letter-spacing: 0;
    font-weight: 400;
  }
  .right-img {
    width: 25.21px;
    height: 26px;
  }
}
</style>
